/* AuthPage.css */
.auth-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: linear-gradient(120deg, #3b82f6 50%, #f0f2f5);
    overflow: hidden;
    position: relative;
}

.wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
}

.auth-content {
    display: flex;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.left-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top-right-radius: 80px;
    transition: transform 0.3s ease;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.auth-title {
    text-align: center;
    color: #333;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 24px;
}

.right-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #3b82f6, #6f86d6);
}

.showcase-image {
    max-width: 80%;
    height: auto;
    animation: float 6s ease-in-out infinite;
    transition: transform 0.5s;
}

.showcase-image:hover {
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 输入框和按钮样式 */
input[type="text"], input[type="password"] {
    border-radius: 8px;
    border: 1px solid #dcdfe6;
    padding: 12px;
    transition: border-color 0.3s;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #1890ff;
    box-shadow: 0 0 5px rgba(24, 144, 255, 0.2);
}

button[type="submit"] {
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s;
}

button[type="submit"]:hover {
    background-color: #1d39c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(29, 57, 196, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .auth-content {
        flex-direction: column;
    }

    .left-section {
        width: 100%;
        border-radius: 0;
        padding: 20px;
    }

    .right-section {
        width: 100%;
        height: 300px;
    }

    .showcase-image {
        max-width: 100%;
    }
}
